//
//  HMDropDownRightCell.m
//  HMMeituan19HD
//
//  Created by 邢广 on 16/9/19.
//  Copyright © 2016年 xg. All rights reserved.
//

#import "HMDropDownRightCell.h"

@implementation HMDropDownRightCell

+ (instancetype)dropDownRightCellWithTabView:(UITableView *)tableView {

    static NSString *ID = @"leftCell";
    
    HMDropDownRightCell *cell = [tableView dequeueReusableCellWithIdentifier:ID];
    
    if (cell == nil) {
        cell = [[HMDropDownRightCell alloc] initWithStyle:UITableViewCellStyleSubtitle reuseIdentifier:ID];
        
        //在创建cell的时候, 设置默认背景
        cell.backgroundView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"bg_dropdown_leftpart"]];
        
        //设置选中背景
        cell.selectedBackgroundView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"bg_dropdown_left_selected"]];
    }
    return cell;

    
}


@end
